package org.example.secondkill.service;

import org.example.secondkill.domain.Goods;
import org.example.secondkill.domain.vo.GoodsDetailVO;

import java.util.List;

public interface IGoodsService {
    Goods getGoodsByGoodsId(long goodsId);

    GoodsDetailVO getGoodsDetailVOByGoodsId(long goodsId);

    List<Goods> getAllGoods();

    void updateGoods(List<Goods> goodsList);
}
